﻿using NUnit.Framework;
using NUnit4PowerShell;

namespace Tests
{
    [TestFixture]
    public class TestSuite
    {
        [Test]
        public void Test_Get_Suite()
        {
            Assert.IsNotNull(TestsRunner.Suite);
        }
    }
    
    [TestFixture]
    public class TestStaticMethods
    {
        [Test]
        public void Test_GetFolder_Is_Not_Null()
        {
            Assert.IsNotNullOrEmpty(NUnit4PowerShell.Utils.GetFolderPath());
        }

        [Test]
        public void Test_GetFolder_Is_Good()
        {
            Assert.AreEqual(@"C:\Users\maxence.modelin\Documents\Projets\ADF\strator\svn\Dev\Refact\RefactBuildVente-2.0\VenteEncaissement\tools\VentePSInstaller\Tests\",NUnit4PowerShell.Utils.GetFolderPath());
        }
    }
}
